ArcGIS API for WPF - Library Reference
DeleteAttachment(String,String[],Action<AttachmentResult[]>,Action<Exception>) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > FeatureLayer Class > DeleteAttachment Method : DeleteAttachment(String,String[],Action<AttachmentResult[]>,Action<Exception>) Method

featureID
The ID of the feature to delete attachments from.
attachmentIds
The attachment ids.
callback
The method to call when completed.
errorCallback
The method to call if an error occurs.
Deletes one or more attachments.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub DeleteAttachment( _
   ByVal featureID As String, _
   ByVal attachmentIds() As String, _
   ByVal callback As Action(Of AttachmentResult()), _
   ByVal errorCallback As Action(Of Exception) _
) 
C# 
public void DeleteAttachment( 
   string featureID,
   string[] attachmentIds,
   Action<AttachmentResult[]> callback,
   Action<Exception> errorCallback
)

Parameters

featureID
The ID of the feature to delete attachments from.
attachmentIds
The attachment ids.
callback
The method to call when completed.
errorCallback
The method to call if an error occurs.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.